<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
            {$row.name|htmlentities}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Industry_category_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="industry_categories" item="vo"}
                  {if $row.industry_category_id==$key}{$vo|htmlentities}{/if}
                {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Company_scale_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="scales" item="vo"}
                  {if $row.company_scale_id==$key}{$vo|htmlentities}{/if}
                {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Company_type_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="company_types" item="vo"}
                {if $row.company_type_id==$key}{$vo|htmlentities}{/if}
                {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_person')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
            {$row.contact_person|htmlentities}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_phone')}:</label>
        <div class="col-xs-12 col-sm-8">
          <div class="radio">
            {$row.contact_phone|htmlentities}
          </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
          <div class="radio">
            {$row.address|htmlentities}
          </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Longitude')}:</label>
        <div class="col-xs-12 col-sm-8">
          <div class="radio">
            {$row.longitude|htmlentities}
          </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Latitude')}:</label>
        <div class="col-xs-12 col-sm-8">
          <div class="radio">
            {$row.latitude|htmlentities}
          </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Intro')}:</label>
        <div class="col-xs-12 col-sm-8">
            {$row.intro|htmlentities}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Logo_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            {if $row.logo_image}
            <div class="image-preview">
                <img src="{$row.logo_image}" class="img-responsive" style="max-width: 100px; margin-top: 10px;">
            </div>
            {/if}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Other_images')}:</label>
        <div class="col-xs-12 col-sm-8">
            {if $row.other_images}
            <div class="image-preview">
                {foreach name="row.other_images" item="image"}
                <div style="display: inline-block; margin-right: 10px; margin-bottom: 10px;">
                    <a href="{$image}" target="_blank">
                        <img src="{$image}" class="img-responsive" style="max-width: 100px; cursor: pointer;">
                    </a>
                </div>
                {/foreach}
            </div>
            {/if}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_recommend')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_recommend" data-rule="required" class="form-control selectpicker" name="row[is_recommend]">
                {foreach name="isRecommendList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_recommend"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
            （显示在招聘会详情页“部分企业”中）

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
